<?php

class ProductController extends XgnController{
	public function list(){
		$arr= array(
		'P001' =>array(
			'productName'=>'产品001',
			'price'=>15.55
			),
		'P002' =>array(
			'productName'=>'产品002',
			'price'=>15.55
			));

		//视图数据绑定
		$this->ViewData['list']=$arr;
		$this->ViewData['title']="新概念快速PHP框架";

		return parent::View('list');
	}
}
